package oop6;
import java.lang.OutOfMemoryError;
/**
 * @author oldliu
 * @since 1.0
 */
public class ArrayTest {
    public static void main(String[] args) {
        try {
            double[] c = new double[1000000000];
            System.out.println(c.length);
        }catch (Error e){
            System.out.println("内存不足"+e);
        }
    }
}
